Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 410 Bytes

counter_with_clear.rst

File metadata and controls

10 lines (8 loc) · 410 Bytes

Counter with clear

This example defines a component with a clear input and a value output. Each clock cycle, the value output is incrementing, but when clear is high, value is cleared.

/../examples/src/main/scala/spinaldoc/examples/simple/Counter.scala